package com.example.basic.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * ClassName: ExceptionEnum
 * Description:
 * date: 2021/12/14 9:52
 * author zesion lee
 */
@Getter
@AllArgsConstructor
public enum ExceptionEnum {

    USER_EXIST(5001, "用户名已存在"),
    USER_NOT_EXIST(5001, "用户不已存在");

    private final Integer code;
    private final String msg;
}
